﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TFXK.BLL;

public partial class MyControls_ZYNavBarControl : System.Web.UI.UserControl
{
    private static readonly CategoryBLL bllCategory = new CategoryBLL();
    public int j = 2;
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack) {
            BindGNCity();
        }
    }

    //导航
    public void BindGNCity()
    {
        this.rptNavGNCity.DataSource = bllCategory.GetNextNodeByCode("zyx_city");
        rptNavGNCity.DataBind();
    }

}
